import { navigateBack, reLaunch } from "./router_basic"

//页面返回
const goBack = (delta : number = 1) : void =>{
	navigateBack(delta)
}

/* 登录&注册 */
//跳转登录页
const goLoginPage = () : void => {
	reLaunch({
		url: ''
	})
}

export {
	goBack,
	goLoginPage,
}